package com.cskaoyan.day1.generic3;

/**
 * @author Common-zhou
 * @since 2023-02-27 10:00
 */
public class Holder2 {
    // 存储变量
    private Car car;

    public Holder2(Car car) {
        this.car = car;
    }

    // 获取方法
    public Car get() {
        return this.car;
    }
}
